package com.th.dao;

import com.th.pojo.User;
import org.apache.ibatis.annotations.Param;

/**
 * @author ThreePure
 * @date 20/12/19 10:18
 * @description:TODO
 * @since 1.8
 */
public interface UserMapper {
    /**
     * @description: 根据id查询用户
     * @date 20/12/19 10:22
     * @Param: [id]
     * @Return: com.th.pojo.User
     */
    User queryUserById(@Param("id") int id);

    int updateUser(User user);
}
